package com.zhhh.repository;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;

import com.zhhh.domain.BRoleModeOper;

public interface RoleModeOperRepository extends CrudRepository<BRoleModeOper, Integer>{

	
	@Query("select s from BRoleModeOper s where s.roleCode = :roleCode and s.operId = :operId")
	BRoleModeOper findByRoleCodeAndOperId(String roleCode, String operId); 

}
